package com.cn.jinl.dao;

import com.cn.jinl.domain.OnDutyBgShenchang;
import com.cn.jinl.domain.OnDutyBgShenchangExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnDutyBgShenchangMapper {
    int countByExample(OnDutyBgShenchangExample example);

    int deleteByExample(OnDutyBgShenchangExample example);
    int deleteDutyShengchangByBgId(OnDutyBgShenchang onDutyBgShenchang);

    int insert(OnDutyBgShenchang record);

    int insertSelective(OnDutyBgShenchang record);
    int batchInsertDutyShengchangs(@Param("itemList") List<OnDutyBgShenchang> records);

    List<OnDutyBgShenchang> selectByExample(OnDutyBgShenchangExample example);
    List<OnDutyBgShenchang> selectOndutyShenchangs(OnDutyBgShenchang onDutyBgShenchang);
    List<OnDutyBgShenchang> selectOndutyShenchangByBgId(String bgId);

    int updateByExampleSelective(@Param("record") OnDutyBgShenchang record, @Param("example") OnDutyBgShenchangExample example);

    int updateByExample(@Param("record") OnDutyBgShenchang record, @Param("example") OnDutyBgShenchangExample example);
}